//
//  USFensViewController.m
//  us
//
//  Created by karry on 2025/5/6.
//

#import "USFensViewController.h"
#import "USFensHeaderView.h"
@interface USFensViewController ()

@property (nonatomic,strong) USFensHeaderView *header;

@end

@implementation USFensViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    
    [self setupView];
     
}

- (void)setupView{
    self.us_tableView.emptyDataSetSource = nil;
    self.us_tableView.emptyDataSetDelegate = nil;
    
    if (self.us_tableView.tableHeaderView == nil) {
        self.header = [USFensHeaderView jk_loadInstanceFromNib];

        UIView *contentHeader = [[UIView alloc]initWithFrame:CGRectMake(0, 0, self.view.jk_width, 720)];
        [contentHeader addSubview:self.header];
        [self.header mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(0);
        }];
        self.us_tableView.tableHeaderView = contentHeader;

    }
 
     
}
/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
